package com.wss.dao;


import com.wss.domain.RankTest;
import org.springframework.stereotype.Repository;

@Repository
public interface RankMapper {

    int insert(RankTest record);

    int insertSelective(RankTest record);

    /**
     * 查总分
     * @param songListId
     * @return
     */
    int selectScoreSum(Long songListId);

    /**
     * 查总评分人数
     * @param songListId
     * @return
     */
    int selectRankNum(Long songListId);


}
